package com.liuyanban.service.impl.user;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import com.liuyanban.dao.user.LoginDao;
import com.liuyanban.domain.user.User;
import com.liuyanban.service.user.LoginService;

@Service("loginService")
public class LoginServiceImpl implements LoginService {

	@Resource(name = "loginDao")
	private LoginDao loginDao;

	@Override
	public User authentication(String username, String password) {
		return loginDao.authentication(username, password);
	}

}
